<template>
  <!-- 忘记密码 -->
  <div class="forget">
    <returnPage></returnPage>
    <van-field v-model="tel" type="tel" label="手机号" />
    <van-field
      v-model="sms"
      center
      clearable
      label="短信验证码"
      placeholder="请输入短信验证码"
    >
      <template #button>
        <van-button size="small" type="primary">发送验证码</van-button>
      </template>
    </van-field>
    <van-button type="primary" block color="red" @click="goNext"
      >下一步</van-button
    >
  </div>
</template>

<script>
export default {
  name: 'forget',
  components: {},
  data () {
    return {
      tel: '',
      sms: ''
    }
  },
  // 计算属性
  computed: {},
  watch: {},
  mounted () {},
  methods: {
    goNext () {
      this.$router.push('/login/forget/reset')
    }
  }
}
</script>

<style lang="scss" scoped></style>
